/**
 * 接口模块
 */

function install(req, request) {
  req.user = {
    getMyInfo(data) {
      let url = `${req.apiUrl}/dev.json`;
      return request({
        url,
        data,
        method: "GET"
      });
    },
  };
}

module.exports = {
  install,
};